<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Bootstrap 101 Template</title>

    <link href="static/css/bootstrap.min.css" rel="stylesheet">

    <script src="static/js/jquery-3.5.1.js"></script>
    <script src="static/js/bootstrap.min.js"></script>
</head>
<body>

<form class="form-horizontal">
    <!-- has-error 校验错误 -->
    <div class="form-group has-error">
        <label for="inputEmail3" class="col-sm-2 control-label">用户名</label>
        <!-- 这里调整长度 -->
        <div class="col-sm-5">
            <input type="text" class="form-control" id="inputEmail3" placeholder="用户名">
        </div>
    </div>
    <div class="form-group has-success">
        <label for="inputPassword3" class="col-sm-2 control-label">密码</label>
        <div class="col-sm-10">
            <input type="password" class="form-control" id="inputPassword3" placeholder="密码">
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-offset-2 col-sm-10">
            <div class="checkbox">
                <label>
                    <input type="checkbox"> Remember me
                </label>
            </div>
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-offset-2 col-sm-10">
            <button type="submit" class="btn btn-default">提交</button>
        </div>
    </div>
</form>

</body>
</html>